package com.study.rabbitmq.mqtt2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class MqttTwoConfig {

    @Value("${mqqtTwo.config.servers}")
    private String servers;

    @Value("${mqqtTwo.config.serverClientId}")
    private String serverClientId;

    @Value("${mqqtTwo.config.clientId}")
    private String clientId;

    @Value("${mqqtTwo.config.defaultTopic}")
    private String defaultTopic;
}
